package com.example.demo.domain;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


@Data
@ApiModel
@Document(indexName = "player",type = "_doc",replicas = 0)
public class Player {

    @Id
    private String Id;

    private String playerName;

    private Integer playerAge;
}
